import Layout from '../../components/layout'




export default {
    path: '/article',
    name: 'articleRanking',
    meta: {
      title: 'article',
      icon: 'icon-describe'
    },
    component: Layout,
    redirect: '/article/ranking',
    children: [
      {
        path: '/article/ranking',
        component: () => import('../../views/article-ranking/index.vue'),
        meta: {
          title: 'articleRanking',
          icon: 'icon-liebiao',
        }
      },
      {
        path: '/article/:id',
        component: () => import('../../views/article-detail/index.vue'),
        meta: {
          title: 'articleDetail',
        }
      },
      {
        path: '/article/editor/:id',
        component: () => import('../../views/article-create/index.vue'),
        meta: {
          title: 'articleEditor',
        }
      },
    ]
  }